package com.ezjie.ielts.task;

import android.content.Context;

import com.ezjie.ielts.core.http.HttpAPI;
import com.ezjie.ielts.core.http.HttpRequestCallBack;
import com.ezjie.ielts.core.http.ServerInterfaceDefinition;

public class ReadBooksTask {

	private Context context;

	public ReadBooksTask(Context context) {
		this.context = context;
	}

	/**
	 * 获取阅读练习列表
	 * 
	 * @param httpRequestCallBack
	 */
	public void doGetBooks(HttpRequestCallBack httpRequestCallBack) {
		HttpAPI.getInstance(context).doGetRequest(ServerInterfaceDefinition.READ_BOOKS, null, httpRequestCallBack);
	}

}
